package com.tjtt.tdm.flow.bean;

import java.sql.Timestamp;

/**
 * FlowTask entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FlowTask implements java.io.Serializable {

	// Fields

	private Long id;
	private String flowName;
	private Long flowTypeId;
	private String flowStateId;
	private String flowStateName;
	private Long flowActionType;
	private String nextRolesId;
	private String nextRolesName;
	private String nextUsersId;
	private String nextUsersName;
	private Timestamp addTime;
	private Long addUserId;
	private String addUserName;
	private String flowRemark;
	private Long state;
	private String nextDept;
	private String nextDeptid;
	private Long reportUserid;
	private String hucUsersId;
	private String isjiaji;
	private Long mainId;
	private String tablename;
	private Long fenzhiflowcount;
	private String spyj;
	private Long backstate;
	private String backoption;
	private Long faqirenid;
	
	// Constructors


	public String getNextDept() {
		return nextDept;
	}

	public void setNextDept(String nextDept) {
		this.nextDept = nextDept;
	}

	public String getNextDeptid() {
		return nextDeptid;
	}

	public void setNextDeptid(String nextDeptid) {
		this.nextDeptid = nextDeptid;
	}

	/** default constructor */
	public FlowTask() {
	}

	/** minimal constructor */
	public FlowTask(Long id) {
		this.id = id;
	}

	/** full constructor */
	public FlowTask(Long id, String flowName, Long flowTypeId,
			String flowStateId, String flowStateName, Long flowActionType,
			Long instanceId, String nextRolesId, String nextRolesName,
			String nextUsersId, String nextUsersName, Timestamp addTime,
			Long addUserId, String addUserName, String flowRemark,
			String fromsDatas, String tdmMaterialName,String tdmBatch,Timestamp endTime, Long backstate,String backoption) {
		this.id = id;
		this.flowName = flowName;
		this.flowTypeId = flowTypeId;
		this.flowStateId = flowStateId;
		this.flowStateName = flowStateName;
		this.flowActionType = flowActionType;
		this.nextRolesId = nextRolesId;
		this.nextRolesName = nextRolesName;
		this.nextUsersId = nextUsersId;
		this.nextUsersName = nextUsersName;
		this.addTime = addTime;
		this.addUserId = addUserId;
		this.addUserName = addUserName;
		this.flowRemark = flowRemark;
		this.backoption = backoption;
		this.backstate = this.backstate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFlowName() {
		return this.flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public Long getFlowTypeId() {
		return this.flowTypeId;
	}

	public void setFlowTypeId(Long flowTypeId) {
		this.flowTypeId = flowTypeId;
	}

	public String getFlowStateId() {
		return this.flowStateId;
	}

	public void setFlowStateId(String flowStateId) {
		this.flowStateId = flowStateId;
	}

	public String getFlowStateName() {
		return this.flowStateName;
	}

	public void setFlowStateName(String flowStateName) {
		this.flowStateName = flowStateName;
	}

	public Long getFlowActionType() {
		return this.flowActionType;
	}

	public void setFlowActionType(Long flowActionType) {
		this.flowActionType = flowActionType;
	}
	
	public String getNextRolesId() {
		return this.nextRolesId;
	}

	public void setNextRolesId(String nextRolesId) {
		this.nextRolesId = nextRolesId;
	}

	public String getNextRolesName() {
		return this.nextRolesName;
	}

	public void setNextRolesName(String nextRolesName) {
		this.nextRolesName = nextRolesName;
	}

	public String getNextUsersId() {
		return this.nextUsersId;
	}

	public void setNextUsersId(String nextUsersId) {
		this.nextUsersId = nextUsersId;
	}

	public String getNextUsersName() {
		return this.nextUsersName;
	}

	public void setNextUsersName(String nextUsersName) {
		this.nextUsersName = nextUsersName;
	}

	public Timestamp getAddTime() {
		return addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public Long getAddUserId() {
		return this.addUserId;
	}

	public void setAddUserId(Long addUserId) {
		this.addUserId = addUserId;
	}

	public String getAddUserName() {
		return this.addUserName;
	}

	public void setAddUserName(String addUserName) {
		this.addUserName = addUserName;
	}

	public String getFlowRemark() {
		return this.flowRemark;
	}

	public void setFlowRemark(String flowRemark) {
		this.flowRemark = flowRemark;
	}

	public Long getState() {
		return state;
	}

	public void setState(Long state) {
		this.state = state;
	}

	public Long getReportUserid() {
		return reportUserid;
	}

	public void setReportUserid(Long reportUserid) {
		this.reportUserid = reportUserid;
	}

	public String getHucUsersId() {
		return hucUsersId;
	}

	public void setHucUsersId(String hucUsersId) {
		this.hucUsersId = hucUsersId;
	}

	public Long getMainId() {
		return mainId;
	}

	public void setMainId(Long mainId) {
		this.mainId = mainId;
	}

	public String getIsjiaji() {
		return isjiaji;
	}

	public void setIsjiaji(String isjiaji) {
		this.isjiaji = isjiaji;
	}

	public String getTablename() {
		return tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	public Long getFenzhiflowcount() {
		return fenzhiflowcount;
	}

	public void setFenzhiflowcount(Long fenzhiflowcount) {
		this.fenzhiflowcount = fenzhiflowcount;
	}

	public String getSpyj() {
		return spyj;
	}

	public void setSpyj(String spyj) {
		this.spyj = spyj;
	}

	public Long getBackstate() {
		return backstate;
	}

	public void setBackstate(Long backstate) {
		this.backstate = backstate;
	}

	public String getBackoption() {
		return backoption;
	}

	public void setBackoption(String backoption) {
		this.backoption = backoption;
	}

	public Long getFaqirenid() {
		return faqirenid;
	}

	public void setFaqirenid(Long faqirenid) {
		this.faqirenid = faqirenid;
	}

    
	

}